package com.mengxingyun.shortlink.project.common.enums;


import com.mengxingyun.shortlink.project.common.convention.errorcode.IErrorCode;

/**
 * @Description: 远程调用异常枚举类
 * @Author: heshen-mengxingyun
 * @Date: 2024/8/6 17:42
 */
public enum RemoteErrorCodeEnum implements IErrorCode {
    REMOTE_FAVICON_FAIL_ERROR("C000100", "获取网站图标失败");
    private final String code;

    private final String message;

    RemoteErrorCodeEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
